package com.changgou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 用户商品浏览记录微服务
 * @author Yolen
 * @date 2020/5/30 2:50
 */
@SpringBootApplication
@EnableEurekaClient
@MapperScan(basePackages = "com.changgou.footmark.dao")
@EnableFeignClients(basePackages = "com.changgou.goods.feign")
@EnableScheduling   //启用spring task定期任务
public class FootmarkApplication {
    public static void main(String[] args) {
        SpringApplication.run(FootmarkApplication.class, args);
    }
}
